package com.woniuxy.springboot03.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
@Component
@ConfigurationProperties(prefix = "org.lr")
public class User implements Serializable {

    private String name;
    private String school;
    private String[] hobby;
    private List<String> book;
    private Set<String> book2;
    private Map<String,String> book3;
    private Date birthday;
}
